Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swift Package Manager Support #2019

Conversation

alejandro-all-win-software
Copy link
Contributor

DESCRIPTION

  • Added support for Swift Package Manager for compatibility with new projects.
  • Updated example minimum iOS version.
  • Updated podspec.
  • Added imports for compatibility with the native code.
  • Changed the start point from the iOS plugin to use Swift instead of Objective-c.

@jonasbark jonasbark self-requested a review December 21, 2024 09:29
@remonh87
Copy link
Member

@jonasbark can you take a look here? I like the changes I am just a bit concerned about the added imports in stripe_ios package as they will be overwritten. Stripe ios supports package manager out of the box but looks like react native sdk doesn't?

@alejandro-all-win-software
Copy link
Contributor Author

Hey @jonasbark, any updates on this?

@jonasbark jonasbark changed the base branch from main to swiftpm January 13, 2025 10:45
@jonasbark jonasbark merged commit f1a8ad2 into flutter-stripe:swiftpm Jan 13, 2025
3 of 5 checks passed
@jonasbark
Copy link
Member

Thank you! I merged it to swiftpm branch and will run a few tests.

jonasbark added a commit that referenced this pull request Jan 17, 2025
* Add Swift Package Manager Support (#2019)

* chore: added swift package manager support

* chore: fixed issues with cocoapods

* chore: updated stripe_ios changelog

* chore: updated stripe_ios pubspec version

* Resolve swiftpm conflicts (#2041)

* Address sheet (#2020)

* feat: create android binding for addresssheet

* feat: create addressheet model

* feat: add correct mapping for addressheet

* feat: create ios addressheet implementation

* fix auto close ios addressheet

* fix: give widget small height to fix flutter requirements

* chore: add documentation

---------

Co-authored-by: Remon <[email protected]>

* chore: added missing imports

---------

Co-authored-by: Rémon <[email protected]>
Co-authored-by: Remon <[email protected]>

---------

Co-authored-by: Alejandro Castillo <[email protected]>
Co-authored-by: Rémon <[email protected]>
Co-authored-by: Remon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants